<%@ page language="java"  pageEncoding="UTF-8"%>
<style>
.pageFormContent p{width: 46%;}
.pageFormContent p label{width: 80px;}
span.error{z-index: 999;left: 230px; width:80px;}
</style>
<div class="pageContent">
	<form method="post" action="updateCustomer?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="customerId" value="${customer.id }" />
		<div class="pageFormContent" layoutH="58">
			<p>
				<label>客户类型：</label>
				<select name="customerType" class="required combox">
					<option value="">-请选择-</option>
					<option value="0" ${customer.customerType=="0" ?"selected='selected'" : "" }>结算客户</option>
					<option value="1" ${customer.customerType=="1" ?"selected='selected'" : "" }>供应商</option>
					<option value="2" ${customer.customerType=="2" ?"selected='selected'" : "" }>融信</option>
				</select>
			</p>
			<p>
				<label>客户代码：</label>
				<input name="customerCode" maxlength="32" type="text" size="26" value=""  />
			</p>
			<p>
				<label>客户全称：</label>
				<input name="customerName" maxlength="64" class="required" type="text" size="26" value="${customer.customerName }" />
			</p>
			<p>
				<label>客户简称：</label>
				<input type="text" name="nickName" maxlength="32" class="required" value="${customer.customerShort }" size="26" />
			</p>
			<p>
				<label>法人代表：</label>
				<input name="legalPerson" maxlength="32" type="text" size="26" value="${customer.legalPerson }" />
			</p>
			<p>
				<label>联系地址：</label>
				<input name="linkAddr"  type="text" size="26" maxlength="64" value="${customer.customerAddress }" />
			</p>
			<p>
				<label>邮 编:</label>
				<input type="text" size="26" name="postCode" maxlength="12" class="alphanumeric" value="${customer.customerPostcode }" maxlength="8" />
			</p>
			<p>
				<label>所属商务:</label>
				<input type="text" name="sysUser" size="22" maxlength="8" value="${customer.sysUserId }" readonly="readonly" />
				<a title="查找带回" lookuppk="sysUser" width="800" height="450" maxable="false" lookupgroup="" href="lookUpEmpList" class="btnLook">查找带回</a>
			</p>
			<p>
				<label>客户备注：</label>
				<textarea rows="4" cols="23" name="customerDesc" maxlength="256">${customer.customerDesc}</textarea>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>